const loadDataSync = (user) => {
    return {
        type:'loadDataUser',
        user
    }
}
const loadDataUserDoctorSync = (userDoctor) => {
    return {
        type:'loadDataUserDoctor',
        userDoctor
    }
}

const loadDataUserSaga = (action) => {
    return {
        ...action,
        type: 'loadDataUserSaga',
    }
}
const loadDataUserDoctorSaga = (action) => {
    return {
        ...action,
        type: 'loadDataUserDoctorSaga',
    }
}

export {
    loadDataSync,
    loadDataUserSaga,
    loadDataUserDoctorSync,
    loadDataUserDoctorSaga
}